package net.zhengxinyun.performance.service.examNew;

import net.zhengxinyun.performance.dto.examDTO.ExamDTO;
import net.zhengxinyun.performance.entity.exam.DeptPaperEntity;
import net.zhengxinyun.performance.entity.exam.GeneralPaperEntity;
import net.zhengxinyun.performance.entity.exam.WorkPaperEntity;

import java.util.List;

/**
 * Date: 2020/3/13 14:20
 */
public interface PaperService {
    /*
        获取问卷
     */
        List<ExamDTO> priviewPages(String examType,Long questionnaireId);

        List<ExamDTO> getCachePages(String examType,Long questionaireId,Long pyId,Long userId);



     //selectCacheWorsList

        int cacheResult(Long examId,Long questionnaireId ,Long userId,Long pyId,String inqSource,String examType,String resultOpt);

    /**
     * 查询用户提交记录
     * @return
     */
    int selecSubmintRecoreds(Long userId,Long questionnaireId,Long pyId,String inquireScore,String examType);

    /**
     * 保存提交记录
     */
    int saveSubmintRecore(Long userId,Long questionnaireId,Long pyId,String inquireScore,String examType);
}
